package handler;

import java.io.File;
import java.net.JarURLConnection;
import java.net.URL;
import java.nio.file.Paths;

public class JarLocation {
    // 运行
    public static String jarPath = System.getProperty("user.dir");
    public static String jarPathPakage = jarPath.substring(0, jarPath.lastIndexOf("\\"));
    public static String configPath = jarPath + "\\config\\";
    public static String confPath = jarPath + "\\config\\conf\\";


    public static void main(String[] args) {
        System.out.println(jarPath.substring(0, jarPath.lastIndexOf("\\")));
    }
}
